package com.jhw.ymcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author jhw
 * @create 2022/10/15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseOrderDto {

    @NotEmpty
    private List<Long> courseIds;

    @NotNull
    private Integer payType;

    @NotNull
    private String token;

    @NotNull
    private Integer type;
}
